#!/usr/bin/env bash

set -e

emacs --daemon
emacsclient -e '(wi-toggle-theme)'
if [[ $GTK_THEME == Adwaita:dark ]]
then
    emacsclient -e '(wi-toggle-theme)'
fi
emacsclient -cn
